package com.zbkj.crmeb.store.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@Accessors(chain = true)
@TableName("eb_channel_integral_product_config")
@ApiModel("ChannelIntegralProductConfig对象")
public class ChannelIntegralProductConfig implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("排序")
    private Integer sort;

    @ApiModelProperty("积分商品（商品或优惠券id）")
    private Integer integralProduct;

    @ApiModelProperty("1：商品 2：优惠券")
    private Integer productType;

    @ApiModelProperty("兑换所需积分")
    private Integer needIntegral;

    @ApiModelProperty("活动状态（0：已下架 1：已上架）")
    private Integer status;

    @ApiModelProperty("上架时间")
    private Date shelfTime;

    @ApiModelProperty("操作人id")
    private Integer createUser;

    @ApiModelProperty("商户id")
    private Integer merId;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date updateTime;
}
